package com.surfilter.msmp.common.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：
 * 作者：Msh
 * 时间：2019-11-04 14:01:12
 */
public class OauthToken implements Serializable {
    private static final long serialVersionUID = 42L;

    /**
     *
     */
    private int tokenId;

    /**
     *
     */
    private String accessToken;

    /**
     *
     */
    private String userId;

    /**
     *
     */
    private String permissions;

    /**
     *
     */
    private String roles;

    /**
     *
     */
    private String refreshToken;

    /**
     *
     */
    private Date expireTime;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private Date updateTime;


    public int getTokenId() {
        return tokenId;
    }

    public void setTokenId(int tokenId) {
        this.tokenId = tokenId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
